﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class Propmpt : MonoBehaviour {

    [SerializeField, Tooltip("动画次数")]
    private int count=5;
    [SerializeField, Tooltip("每次动画时间")]
    private float aniTime=2;
    private void Start()
    {
        
        transform.DOScale(new Vector3(0, 0, 0), aniTime).SetLoops(count, LoopType.Restart);
    }
}
